import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity()
export default class User {
    @PrimaryGeneratedColumn()
    user_id : number;

    @Column()
    openid : string;

    @Column()
    unionid : string;

    @Column()
    session_key : string;

    @Column()
    register_time : number;
}